package com.lyh.system.service;

import java.util.List;
import com.lyh.system.domain.ReceiveAddress;

/**
 * 收货地址Service接口
 * 
 * @author ruoyi
 * @date 2023-05-11
 */
public interface IReceiveAddressService 
{
    /**
     * 查询收货地址
     * 
     * @param id 收货地址主键
     * @return 收货地址
     */
    public ReceiveAddress selectReceiveAddressById(Long id);

    /**
     * 查询收货地址列表
     * 
     * @param receiveAddress 收货地址
     * @return 收货地址集合
     */
    public List<ReceiveAddress> selectReceiveAddressList(ReceiveAddress receiveAddress);

    /**
     * 新增收货地址
     * 
     * @param receiveAddress 收货地址
     * @return 结果
     */
    public int insertReceiveAddress(ReceiveAddress receiveAddress);

    /**
     * 修改收货地址
     * 
     * @param receiveAddress 收货地址
     * @return 结果
     */
    public int updateReceiveAddress(ReceiveAddress receiveAddress);

    /**
     * 批量删除收货地址
     * 
     * @param ids 需要删除的收货地址主键集合
     * @return 结果
     */
    public int deleteReceiveAddressByIds(Long[] ids);

    /**
     * 删除收货地址信息
     * 
     * @param id 收货地址主键
     * @return 结果
     */
    public int deleteReceiveAddressById(Long id);
}
